import type { RouteObject } from 'react-router-dom'

export default {
  children: [
    {
      path: '/employee',
      lazy: () => import('@/views/employee/index'),
      meta: {
        title: '员工管理',
        icon: 'ant-design:user-outlined',
      },
    },
    {
      path: '/employee/addEmployee',
      id: 'addEmployee',
      lazy: () => import('@/views/employee/addEmployee'),
      meta: {
        title: '操作员工',
        hideInMenu: true,
        hideInSearch: true,
        activeMenu: '/employee',
        mergeTabbarPath: '/employee',
        // auth: 'user.detail',
      },
    },
  ],

} as RouteObject